require "file_deleter.rb"
require "filter_generator.rb"
class Application
  def run(dirname, time)
    filter = FilterGenerator.new("foldersToBeKept.txt")
    fileDeleter = FileDeleter.new(dirname,filter)
    fileDeleter.deleteFileAndDirModifiedBeforeSpecifiedDate(time)
  end
end